package com.gan.simple_init.common.enums;

/**
 * @author gbw
 * @date 2023/8/18
 */
public enum BusinessStatus {
    /**
     * 成功
     */
    SUCCESS("成功",0),

    /**
     * 失败
     */
    FAIL("失败",1);

    private final String text;

    private final Integer value;

    BusinessStatus(String text,Integer value){
        this.text = text;
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }

    public String getText() {
        return text;
    }
}
